public class Candidate {

    int value;
    int available;
    
    /**
     * @param value = Unique candidate identifier
     * @param available = Amount of candidates for identifier.
     */
    public Candidate(int value, int available){
        this.value = value;
        this.available = available;
    }
    
    public int getValue(){
        return value;
    }
    
    public int getAvailable(){
        return available;
    }
    
    public void addOne(){
        available++;    
    }
    
    public void takeOne(){
    	available--;
    }
}
